<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>

    <div>


    </div>
    <script>
        /*     var name = '123'
            var obj = {
                name: name
            }
            console.log(obj[name]); */

        var obj = {
            name: ['张三', 'lisi'],
            age: 14,
            wen: 90,
            shu: 100
        }

        for (var key in obj) {
            console.log(obj[key])
        };

    </script>

</body>

</html>